package org.jeecg.modules.online.cgform.model;

import java.util.List;
import org.jeecg.common.system.vo.SysPermissionDataRuleModel;
import org.jeecg.modules.online.cgform.entity.OnlCgformField;

/* renamed from: org.jeecg.modules.online.cgform.model.f */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/modules/online/cgform/model/f.class */
public class OnlTable {

    /* renamed from: a */
    private String f429a;

    /* renamed from: b */
    private String f430b;

    /* renamed from: c */
    private List<OnlCgformField> f431c;

    /* renamed from: d */
    private List<OnlCgformField> f432d;

    /* renamed from: e */
    private List<SysPermissionDataRuleModel> f433e;

    /* renamed from: f */
    private String f434f;

    /* renamed from: g */
    private String f435g;

    /* renamed from: h */
    private String f436h;

    /* renamed from: i */
    private boolean f437i;

    public void setTableName(String tableName) {
        this.f429a = tableName;
    }

    public void setTableId(String tableId) {
        this.f430b = tableId;
    }

    public void setAllFieldList(List<OnlCgformField> allFieldList) {
        this.f431c = allFieldList;
    }

    public void setSelectFieldList(List<OnlCgformField> selectFieldList) {
        this.f432d = selectFieldList;
    }

    public void setAuthList(List<SysPermissionDataRuleModel> authList) {
        this.f433e = authList;
    }

    public void setMainField(String mainField) {
        this.f434f = mainField;
    }

    public void setJoinField(String joinField) {
        this.f435g = joinField;
    }

    public void setAlias(String alias) {
        this.f436h = alias;
    }

    public void setMain(boolean isMain) {
        this.f437i = isMain;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OnlTable) {
            OnlTable onlTable = (OnlTable) o;
            if (onlTable.m265a(this) && m266a() == onlTable.m266a()) {
                String tableName = getTableName();
                String tableName2 = onlTable.getTableName();
                if (tableName == null) {
                    if (tableName2 != null) {
                        return false;
                    }
                } else if (!tableName.equals(tableName2)) {
                    return false;
                }
                String tableId = getTableId();
                String tableId2 = onlTable.getTableId();
                if (tableId == null) {
                    if (tableId2 != null) {
                        return false;
                    }
                } else if (!tableId.equals(tableId2)) {
                    return false;
                }
                List<OnlCgformField> allFieldList = getAllFieldList();
                List<OnlCgformField> allFieldList2 = onlTable.getAllFieldList();
                if (allFieldList == null) {
                    if (allFieldList2 != null) {
                        return false;
                    }
                } else if (!allFieldList.equals(allFieldList2)) {
                    return false;
                }
                List<OnlCgformField> selectFieldList = getSelectFieldList();
                List<OnlCgformField> selectFieldList2 = onlTable.getSelectFieldList();
                if (selectFieldList == null) {
                    if (selectFieldList2 != null) {
                        return false;
                    }
                } else if (!selectFieldList.equals(selectFieldList2)) {
                    return false;
                }
                List<SysPermissionDataRuleModel> authList = getAuthList();
                List<SysPermissionDataRuleModel> authList2 = onlTable.getAuthList();
                if (authList == null) {
                    if (authList2 != null) {
                        return false;
                    }
                } else if (!authList.equals(authList2)) {
                    return false;
                }
                String mainField = getMainField();
                String mainField2 = onlTable.getMainField();
                if (mainField == null) {
                    if (mainField2 != null) {
                        return false;
                    }
                } else if (!mainField.equals(mainField2)) {
                    return false;
                }
                String joinField = getJoinField();
                String joinField2 = onlTable.getJoinField();
                if (joinField == null) {
                    if (joinField2 != null) {
                        return false;
                    }
                } else if (!joinField.equals(joinField2)) {
                    return false;
                }
                String alias = getAlias();
                String alias2 = onlTable.getAlias();
                return alias == null ? alias2 == null : alias.equals(alias2);
            }
            return false;
        }
        return false;
    }

    /* renamed from: a */
    protected boolean m265a(Object obj) {
        return obj instanceof OnlTable;
    }

    public int hashCode() {
        int i = (1 * 59) + (m266a() ? 79 : 97);
        String tableName = getTableName();
        int hashCode = (i * 59) + (tableName == null ? 43 : tableName.hashCode());
        String tableId = getTableId();
        int hashCode2 = (hashCode * 59) + (tableId == null ? 43 : tableId.hashCode());
        List<OnlCgformField> allFieldList = getAllFieldList();
        int hashCode3 = (hashCode2 * 59) + (allFieldList == null ? 43 : allFieldList.hashCode());
        List<OnlCgformField> selectFieldList = getSelectFieldList();
        int hashCode4 = (hashCode3 * 59) + (selectFieldList == null ? 43 : selectFieldList.hashCode());
        List<SysPermissionDataRuleModel> authList = getAuthList();
        int hashCode5 = (hashCode4 * 59) + (authList == null ? 43 : authList.hashCode());
        String mainField = getMainField();
        int hashCode6 = (hashCode5 * 59) + (mainField == null ? 43 : mainField.hashCode());
        String joinField = getJoinField();
        int hashCode7 = (hashCode6 * 59) + (joinField == null ? 43 : joinField.hashCode());
        String alias = getAlias();
        return (hashCode7 * 59) + (alias == null ? 43 : alias.hashCode());
    }

    public String toString() {
        return "OnlTable(tableName=" + getTableName() + ", tableId=" + getTableId() + ", allFieldList=" + getAllFieldList() + ", selectFieldList=" + getSelectFieldList() + ", authList=" + getAuthList() + ", mainField=" + getMainField() + ", joinField=" + getJoinField() + ", alias=" + getAlias() + ", isMain=" + m266a() + ")";
    }

    public String getTableName() {
        return this.f429a;
    }

    public String getTableId() {
        return this.f430b;
    }

    public List<OnlCgformField> getAllFieldList() {
        return this.f431c;
    }

    public List<OnlCgformField> getSelectFieldList() {
        return this.f432d;
    }

    public List<SysPermissionDataRuleModel> getAuthList() {
        return this.f433e;
    }

    public String getMainField() {
        return this.f434f;
    }

    public String getJoinField() {
        return this.f435g;
    }

    public String getAlias() {
        return this.f436h;
    }

    /* renamed from: a */
    public boolean m266a() {
        return this.f437i;
    }

    public void setAliasByIntValue(int index) {
        this.f436h = String.valueOf((char) index);
    }

    public String getTableAlias() {
        return this.f436h + ".";
    }

    public OnlTable() {
    }

    public OnlTable(String str, String str2, boolean z) {
        this.f429a = str;
        this.f430b = str2;
        this.f437i = z;
    }
}
